package main
import "fmt"
func main(){
	var t = 20 + 3.14i
	fmt.Printf("t type is : %T\n",t)
	
	var a complex64
	fmt.Printf("a type is : %T\n",a)
	
	a = 20 + 3.14i
	fmt.Printf("a = %0.2f + %0.2f\n",real(a),imag(a))
	fmt.Printf("实数类型 :%T\n",real(a))
	fmt.Printf("虚数类型 :%T\n",imag(a))
}
